namespace Fine.Collections.Intf
{
    /// <summary>
    /// Read-only map entry (a key-value pair).
    /// </summary>
    /// <typeparam name="K">type of key.</typeparam>
    /// <typeparam name="V">type of value.</typeparam>
    public interface RMapEntry<out K, out V> 
    {
        /// <summary>
        /// The key.
        /// </summary>
        K Key { get; }

        /// <summary>
        /// The entry.
        /// </summary>
        V Value { get; }
    }
}